//
//  CWQ_MeTableHeaderView.h
//  BaxTer
//
//  Created by 陈武琦 on 16/8/31.
//  Copyright © 2016年 陈武琦. All rights reserved.
//

@class CWQ_MeTableHeaderView;
@protocol CWQ_MeTableHeaderViewDelegate <NSObject>

- (void)headView:(CWQ_MeTableHeaderView *)headView clickHeadBtn:(UIButton *)headBtn;
- (void)headView:(CWQ_MeTableHeaderView *)headView clickTrainCampBtn:(UIButton *)headBtn;
- (void)headView:(CWQ_MeTableHeaderView *)headView clickLearnedBtn:(UIButton *)headBtn;
- (void)headView:(CWQ_MeTableHeaderView *)headView clickIntegralBtn:(UIButton *)headBtn;
- (void)headView:(CWQ_MeTableHeaderView *)headView leaderBoardBtn:(UIButton *)headBtn;
@end


#import <UIKit/UIKit.h>

@interface CWQ_MeTableHeaderView : UIView
@property (weak, nonatomic) IBOutlet UIImageView *bg_imageView;
@property (weak, nonatomic) IBOutlet UILabel *userName;
@property (weak, nonatomic) IBOutlet UIButton *headBtn;
@property (weak, nonatomic) IBOutlet UILabel *learned;
@property (weak, nonatomic) IBOutlet UILabel *integral;
//积分排行榜
@property (weak, nonatomic) IBOutlet UIButton *leaderBoard;
@property (weak, nonatomic) IBOutlet UIButton *practiceBtn;
@property (weak, nonatomic) IBOutlet UIImageView *practiceIcon;
@property(nonatomic, weak) id <CWQ_MeTableHeaderViewDelegate> delegate;
@end
